home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
HPAVC
/
HPAVC CD-ROM.iso
/
ARASAN_S.ZIP
/
HINT.H
< prev
next >
Wrap
C/C++ Source or Header
|
1994-02-25
|
608b
|
30 lines
// Copyright 1993 by Jon Dart. All Rights Reserved.
#include <wpp.h>
#include <wpdlg.h>
#include "move.h"
#include "constant.h"
#define IDP_ANOTHER 103
#define IDP_HINT_TEXT 104
class HintDialog : public WPDialogModal
{
public:
static Move hintMove;
// handles the Hint dialog
HintDialog(WPWin *pwin, Board &board);
void initDlg();
BOOL command(int id, WORD msg);
private:
void compute_hint();
HWND move_text;
Board &the_board;
Move moves[Constants::MAX_HINT_MOVES];
WPWin *parent;
unsigned num_moves;
unsigned next_move;
};